#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    ui->comboBox_phone->addItem("苹果");
    ui->comboBox_phone->addItem("华为");
    ui->comboBox_phone->addItem("小米");
    ui->comboBox_phone->addItem("OPPO");
    ui->comboBox_phone->addItem("VIVO");
    ui->comboBox_pc->addItem("苹果");
    ui->comboBox_pc->addItem("联想");
    ui->comboBox_pc->addItem("天选");
    ui->comboBox_pc->addItem("戴尔");
    ui->comboBox_pc->addItem("惠普");

}

Widget::~Widget()
{
    delete ui;
}

